package cn.com.majiang.dao;


import cn.com.majiang.domain.RoomInfo;
import cn.com.majiang.param.RoomInfoParam;

import java.util.Date;
import java.util.List;


public interface RoomInfoDao {
    int deleteByPrimaryKey(Integer id);

    int insert(RoomInfo record);

    int insertSelective(RoomInfo record);

    RoomInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoomInfo record);

    int updateByPrimaryKey(RoomInfo record);
    
    int selectCount();
    
    int selectTodayCount(Date date);
    //获取所有消耗的房卡总和
    int selectConsumedRoomCardCount();

    List<RoomInfo> selectRoomInfoList(RoomInfoParam param);

    Integer selectRoomInfoCount(RoomInfoParam param);
}